package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.common.dtos.ResponseResult;


public interface ChannelService extends IService<AdChannel> {
    //分页查询
    ResponseResult findListByQuery(ChannelDTO dto);
    //新增数据
    ResponseResult insert(AdChannel adChannel);
    //修改数据
    ResponseResult update(AdChannel adChannel);
    //删除频道
    ResponseResult delete(Integer id);
}
